<?php

include_once('Command.php');

class InfoCommand extends Command
{

	public function run($data){
		if($data=="all"){
		 phpinfo();	
		}
		else{
		 phpinfo(INFO_GENERAL);	
		}
	}

	public function help(){
		echo "Дава информация за системата.";
	}

}
?>
